package com.fare.taluo.core.domain.analyse.monitor;

import java.util.Date;
import java.util.List;

import com.dayatang.domain.EntityRepository;

public interface FreightMonitorSettingsEntityRepository extends EntityRepository {
	/**
	 * 初始化监控设置表
	 * @return
	 * @throws Exception 
	 */
	public List<FreightMonitorSettingsEntity> findFreightMonitorAll(String currentUser) throws Exception;
	/**
	 * 删除其中一条数据
	 */
	public void delete(FreightMonitorSettingsEntity entity);
	/**
	 * 条件查询数据
	 */
	public List<FreightMonitorSettingsEntity>findFreightMonitorSettingsEntityByCondition(Date queryDate,Date toQueryDate,String fromCity,String toCity,Date createTime,Date toCreateTime,String currentUsers);
	/**
	 *保存修改后的数据
	 */
//	public void save(FreightMonitorSettingsEntity entity);
}
